//
//  RegisteAndLoginViewController.m
//  TestApplication
//
//  Created by Hanlingyu on 16/8/29.
//  Copyright © 2016年 ltq. All rights reserved.
//

#import "RegisteAndLoginViewController.h"
#import "RegisteViewController.h"
#import "LoginViewController.h"
@interface RegisteAndLoginViewController ()
@property (weak, nonatomic) IBOutlet UIButton *loginButton;
@property (weak, nonatomic) IBOutlet UIButton *registeButton;

@end

@implementation RegisteAndLoginViewController


- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.navigationController.navigationBarHidden = YES;
    self.navigationController.navigationBar.barStyle = UIBarStyleBlack;    
    
    
    _registeButton.layer.cornerRadius = 5;
    _registeButton.layer.borderWidth = 1.5f;
    _registeButton.layer.borderColor = [UIColor whiteColor].CGColor;
    
    _loginButton.layer.cornerRadius = 5;
    _loginButton.layer.borderWidth = 1.5f;
    _loginButton.layer.borderColor = [UIColor whiteColor].CGColor;
    
    
}
- (IBAction)pushRegisteViewControllerAction:(id)sender {
    
    RegisteViewController *registeVC = [[RegisteViewController alloc] init];
    [self.navigationController pushViewController:registeVC animated:YES];
    NSLog(@"注册");
    
}
- (IBAction)pushLoginViewControllerAction:(id)sender {
    
    LoginViewController *loginVC = [[LoginViewController alloc] init];
    [self.navigationController pushViewController:loginVC animated:YES];
    NSLog(@"登录");
    
    
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
